home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / programr / rsxwdk2s.zip / RSXWDK / LIBSRC / WINIO / WMHANDLR.H < prev    next >
C/C++ Source or Header  |  1994-10-17  |  626b  |  27 lines

  1. /*
  2. WMHANDLR.H
  3. Event (WM_ message) handlers - interface
  4. Dave Maxey and Andrew Schulman - 1991
  5.  
  6. wmhandler_init MUST be called before a window is opened.
  7.  
  8. wmhandler_get returns current handler for an event.
  9.  
  10. wmhandler_set also returns current handler, and then makes
  11. supplied handler current for the message type.
  12. */
  13.  
  14. #ifdef __cplusplus
  15. extern "C" {
  16. #endif
  17. typedef long (*WMHANDLER)(HWND, UINT, WPARAM, LPARAM);
  18.  
  19. long FAR PASCAL _export WndProc(HWND, UINT, WPARAM, LPARAM);
  20. void wmhandler_init(void);
  21. WMHANDLER wmhandler_get(UINT);
  22. WMHANDLER wmhandler_set(UINT, WMHANDLER);
  23. #ifdef __cplusplus
  24. }
  25. #endif
  26.  
  27.